package com.cc.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 
 * 
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-12-09 20:57:52
 */
@Data
@TableName("cc_product")
public class ProductEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 商品id
	 */
	@TableId
	private Long id;
	/**
	 * 商品分类id
	 */
	private Long pcid;
	/**
	 * 大标题
	 */
	private String bigTitle;
	/**
	 * 小标题
	 */
	private String smallTitle;

	private Integer publishStatus;

	private String defaultPicture;

	@TableField(exist = false)
	private List<String> bannerPics = new ArrayList<>();

}
